import { request } from '@/utils/request'

// 文档目录树
export function dataTree(param) {
  return request({
    url: '/fileLb/show',
    method: 'post',
    data: param,
  })
}
// 文档目录树
export function dataDetail(param) {
  return request({
    url: '/fileLb/detail',
    method: 'post',
    data: param,
  })
}

// 文档目录保存
export function dataAdd(param) {
  return request({
    url: '/fileLb/add',
    method: 'post',
    data: param,
  })
}

// 文档目录更新
export function dataUpdate(param) {
  return request({
    url: '/fileLb/update',
    method: 'post',
    data: param,
  })
}
// 文档目录删除
export function dataDel(param) {
  return request({
    url: '/fileLb/delete',
    method: 'post',
    data: param,
  })
}
